tree-list-model: Return the correct item type
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 18 Sep 2018 03:51:57 +0000 (00:51 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 18 Sep 2018 03:51:57 +0000 (00:51 -0300)
commit1a4b60fb36f0102d29654ac355c2144654d41ae5
tree68618500e0c2cb0707fa4ae1b7e3636088b84d22
parent05b2ae0f31c2400bf730006f59b67fb3627f55a1
tree-list-model: Return the correct item type

When passthrough is enabled, it should return the GType
of the child GListModels; when disabled, it should be
GTK_TYPE_TREE_LIST_ROW.

The conditions are inverted however, causing a few
warnings to trigger.

Fix that by returning the correct GType.
gtk/gtktreelistmodel.c